package com.lee.auth.sms.sender;

import com.lee.auth.sms.SmsScene;
import com.lee.auth.sms.SmsSender;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author lee HN
 * @date 2021/4/13 16:31
 */
@Slf4j
@Component
public class TestSender implements SmsSender {

    @Override
    public boolean sendSms(String phone, SmsScene smsScene, Map<String, Object> smsParam) {
        log.info("发送短信:" + smsParam.toString());
        return true;
    }

}
